package game;

import java.awt.BorderLayout;

import javax.swing.JFrame;

public class Main
{
	private static final long serialVersionUID = 1L;
	
	public static JFrame frame;
	public final static String NAME = "Game Engine 2";

	public static void main(String[] args)
	{
		frame = new JFrame(NAME);		
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		frame.setLayout(new BorderLayout());
		
		Game game = new Game();

		frame.add(game, BorderLayout.CENTER);
		
		frame.setResizable(false);
		frame.setLocationRelativeTo(null);
		frame.setVisible(true);
		
		frame.pack();		
		
		game.start();
	}
}
